Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SP-] 배포 시 일부 페이지가 amplitude 오류로 렌더되지 않는 오류 수정 #361

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

SeojinSeojin
Copy link
Member

Summary

기존 amplitude를 초기화하는 시점이 컴포넌트 바깥인데,

이 경우 pages/project/[id] 에 있는 파일들이 구워질 때 에러가 발생합니다

정확한 원인은 모르지만, 일단 생명주기 안쪽으로 init하는 코드를 옮겨 문제를 해결하였습니다.

배포 전에 편할 때 develop으로 머지해 주세요!!

@SeojinSeojin SeojinSeojin requested a review from lydiacho March 1, 2024 12:38
Copy link

height bot commented Mar 1, 2024

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

@SeojinSeojin SeojinSeojin changed the title 배포 시 일부 페이지가 amplitude 오류로 렌더되지 않는 오류 수정 [SP-] 배포 시 일부 페이지가 amplitude 오류로 렌더되지 않는 오류 수정 Mar 1, 2024
Copy link
Member

@lydiacho lydiacho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

감사합니다! 👍

@lydiacho lydiacho merged commit 321f456 into develop Mar 1, 2024
1 check passed
@lydiacho lydiacho deleted the fix/amplitude_ssr branch March 1, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants